
//------------------------------------------------------------------------------

namespace Apps.Models
{
     using System.ComponentModel.DataAnnotations.Schema;
    using System;
    using System.Collections.Generic;
    
    [Table("WC_MEMBERMANAGEMENT")] 
     public partial class WC_MemberManagement
    {
        public WC_MemberManagement()
        {
            this.WC_MemberAccount = new HashSet<WC_MemberAccount>();
        }
    
        [Column("ID"), System.ComponentModel.DataAnnotations.Key] 
     public string Id { get; set; }
        [Column("BROKERID")] 
     public string BrokerId { get; set; }
        [Column("MEMBERID")] 
     public string MemberId { get; set; }
        [Column("ROUGHLY")] 
     public string Roughly { get; set; }
        [Column("TRADINGACCOUNT")] 
     public string TradingAccount { get; set; }
        [Column("NICKNAME")] 
     public string NickName { get; set; }
        [Column("MEMBERSEX")] 
     public Nullable<int> MemberSex { get; set; }
        [Column("REALNAME")] 
     public string RealName { get; set; }
        [Column("MOBILEPHONE")] 
     public string MobilePhone { get; set; }
        [Column("REFEREESFIRSTID")] 
     public string RefereesFirstId { get; set; }
        [Column("HEADPORTRAIT")] 
     public string HeadPortrait { get; set; }
        [Column("ISTEAM")] 
     public Nullable<bool> IsTeam { get; set; }
        [Column("STATUS")] 
     public Nullable<int> Status { get; set; }
        [Column("CREATETIME")] 
     public Nullable<System.DateTime> CreateTime { get; set; }
        [Column("UPDATETIME")] 
     public Nullable<System.DateTime> UpdateTime { get; set; }
        [Column("REMARK")] 
     public string Remark { get; set; }
    
        public virtual WC_BrokerManagement WC_BrokerManagement { get; set; }
        public virtual ICollection<WC_MemberAccount> WC_MemberAccount { get; set; }
    }
}
